package com.yonyou.brigade.third_parties.fanscar.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kangfw5@yonyou.com
 * @since 2019-03-06
 */
@TableName("fanscar_user")
public class FanscarUser extends Model<FanscarUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 员工ID
     */
    @TableField("employee_id")
    private String employeeId;
    /**
     * 员工姓名
     */
    @TableField("employee_name")
    private String employeeName;
    /**
     * 员工工号
     */
    @TableField("employee_number")
    private String employeeNumber;
    /**
     * 部门代码
     */
    @TableField("department_code")
    private String departmentCode;
    /**
     * 职级代码
     */
    @TableField("job_grade_code")
    private String jobGradeCode;
    /**
     * 性别（0：女；1：男；3：未知，默认为未知）
     */
    private Integer gender;
    /**
     * 手机
     */
    private String mobile;
    /**
     * 状态（0：离职；1：在职，默认在职）
     */
    private Integer status;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getJobGradeCode() {
        return jobGradeCode;
    }

    public void setJobGradeCode(String jobGradeCode) {
        this.jobGradeCode = jobGradeCode;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String EMPLOYEE_ID = "employee_id";

    public static final String EMPLOYEE_NAME = "employee_name";

    public static final String EMPLOYEE_NUMBER = "employee_number";

    public static final String DEPARTMENT_CODE = "department_code";

    public static final String JOB_GRADE_CODE = "job_grade_code";

    public static final String GENDER = "gender";

    public static final String MOBILE = "mobile";

    public static final String STATUS = "status";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "FanscarUser{" +
        "id=" + id +
        ", employeeId=" + employeeId +
        ", employeeName=" + employeeName +
        ", employeeNumber=" + employeeNumber +
        ", departmentCode=" + departmentCode +
        ", jobGradeCode=" + jobGradeCode +
        ", gender=" + gender +
        ", mobile=" + mobile +
        ", status=" + status +
        ", ts=" + ts +
        "}";
    }
}
